#include <iostream>

using namespace std;

int main(){
	int num = 0x00636261;
	int * pnum = &num;
	char * pstr = reinterpret_cast<char *>(pnum);
	
	cout << "pnum pointer value:" << pnum << endl;
	cout << "pstr pointer value:" << static_cast<void*>(pstr) << endl;
	
	cout << "pnum value:" << hex << *pnum << endl;
	cout << "pstr value:" << pstr << endl;
	
	return 0;
}